/**
 * 提取公共的功能
 */
import UserService from "@/service/module/system/user"
const useShared = () => {
    const userService = new UserService()
    const sharedDemo = async () => {
        const res = await userService.share({})
        if (res.SUCCESS) {
            $message.success('公共功能调用成功')
        }
    }

    return {
        sharedDemo
    }
}

export default useShared